<template>
	<view class="icons">
		<view class="icons-item" v-for="(item,index) in dataList" :key="index">
			<image class="icons-img" :src="item.imgUrl" mode=""></image>
			<text class="name">{{item.name}}</text>
		</view>


	</view>
</template>

<script>
	export default {
		props: {
			dataList: {
				type: Array,
				default: () => []
			}
		}
	}
</script>

<style scoped>
	.icons {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		padding-top: 20rpx;
	}

	.icons-item {
		width: 25%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-bottom: 18rpx;
	}

	.icons-img {
		width: 150rpx;
		height: 150rpx;
	}

	.name {
		margin-top: 10rpx;
		color: #636263;
	}
</style>